3.17.35 \(\int \frac {1}{\sqrt {a d e+(c d^2+a e^2) x+c d e x^2}} \, dx\)

Optimal. Leaf size=82 \[ \frac {\tanh ^{-1}\left (\frac {a e^2+c d^2+2 c d e x}{2 \sqrt {c} \sqrt {d} \sqrt {e} \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}\right )}{\sqrt {c} \sqrt {d} \sqrt {e}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 82, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {621, 206} \begin {gather*} \frac {\tanh ^{-1}\left (\frac {a e^2+c d^2+2 c d e x}{2 \sqrt {c} \sqrt {d} \sqrt {e} \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}\right )}{\sqrt {c} \sqrt {d} \sqrt {e}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/Sqrt[a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2],x]

[Out]

ArcTanh[(c*d^2 + a*e^2 + 2*c*d*e*x)/(2*Sqrt[c]*Sqrt[d]*Sqrt[e]*Sqrt[a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2])]/(
Sqrt[c]*Sqrt[d]*Sqrt[e])

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 621

Int[1/Sqrt[(a_) + (b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Dist[2, Subst[Int[1/(4*c - x^2), x], x, (b + 2*c*x)
/Sqrt[a + b*x + c*x^2]], x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rubi steps

\begin {align*} \int \frac {1}{\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}} \, dx &=2 \operatorname {Subst}\left (\int \frac {1}{4 c d e-x^2} \, dx,x,\frac {c d^2+a e^2+2 c d e x}{\sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\right )\\ &=\frac {\tanh ^{-1}\left (\frac {c d^2+a e^2+2 c d e x}{2 \sqrt {c} \sqrt {d} \sqrt {e} \sqrt {a d e+\left (c d^2+a e^2\right ) x+c d e x^2}}\right )}{\sqrt {c} \sqrt {d} \sqrt {e}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.08, size = 148, normalized size = 1.80 \begin {gather*} \frac {2 \sqrt {c d} \sqrt {c d^2-a e^2} \sqrt {a e+c d x} \sqrt {\frac {c d (d+e x)}{c d^2-a e^2}} \sinh ^{-1}\left (\frac {\sqrt {c} \sqrt {d} \sqrt {e} \sqrt {a e+c d x}}{\sqrt {c d} \sqrt {c d^2-a e^2}}\right )}{c^{3/2} d^{3/2} \sqrt {e} \sqrt {(d+e x) (a e+c d x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/Sqrt[a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2],x]

[Out]

(2*Sqrt[c*d]*Sqrt[c*d^2 - a*e^2]*Sqrt[a*e + c*d*x]*Sqrt[(c*d*(d + e*x))/(c*d^2 - a*e^2)]*ArcSinh[(Sqrt[c]*Sqrt
[d]*Sqrt[e]*Sqrt[a*e + c*d*x])/(Sqrt[c*d]*Sqrt[c*d^2 - a*e^2])])/(c^(3/2)*d^(3/2)*Sqrt[e]*Sqrt[(a*e + c*d*x)*(
d + e*x)])

________________________________________________________________________________________

IntegrateAlgebraic [B]  time = 0.41, size = 241, normalized size = 2.94 \begin {gather*} -\frac {\sqrt {c d e} \log \left (a^2 e^4+8 c d e x \sqrt {c d e} \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}-2 a c d^2 e^2-4 a c d e^3 x+c^2 d^4-4 c^2 d^3 e x-8 c^2 d^2 e^2 x^2\right )}{2 c d e}-\frac {\tanh ^{-1}\left (\frac {2 \sqrt {c} \sqrt {d} \sqrt {e} x \sqrt {c d e}}{a e^2+c d^2}-\frac {2 \sqrt {c} \sqrt {d} \sqrt {e} \sqrt {x \left (a e^2+c d^2\right )+a d e+c d e x^2}}{a e^2+c d^2}\right )}{\sqrt {c} \sqrt {d} \sqrt {e}} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[1/Sqrt[a*d*e + (c*d^2 + a*e^2)*x + c*d*e*x^2],x]

[Out]

-(ArcTanh[(2*Sqrt[c]*Sqrt[d]*Sqrt[e]*Sqrt[c*d*e]*x)/(c*d^2 + a*e^2) - (2*Sqrt[c]*Sqrt[d]*Sqrt[e]*Sqrt[a*d*e +
(c*d^2 + a*e^2)*x + c*d*e*x^2])/(c*d^2 + a*e^2)]/(Sqrt[c]*Sqrt[d]*Sqrt[e])) - (Sqrt[c*d*e]*Log[c^2*d^4 - 2*a*c
*d^2*e^2 + a^2*e^4 - 4*c^2*d^3*e*x - 4*a*c*d*e^3*x - 8*c^2*d^2*e^2*x^2 + 8*c*d*e*Sqrt[c*d*e]*x*Sqrt[a*d*e + (c
*d^2 + a*e^2)*x + c*d*e*x^2]])/(2*c*d*e)

________________________________________________________________________________________

fricas [A]  time = 0.45, size = 244, normalized size = 2.98 \begin {gather*} \left [\frac {\sqrt {c d e} \log \left (8 \, c^{2} d^{2} e^{2} x^{2} + c^{2} d^{4} + 6 \, a c d^{2} e^{2} + a^{2} e^{4} + 4 \, \sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x} {\left (2 \, c d e x + c d^{2} + a e^{2}\right )} \sqrt {c d e} + 8 \, {\left (c^{2} d^{3} e + a c d e^{3}\right )} x\right )}{2 \, c d e}, -\frac {\sqrt {-c d e} \arctan \left (\frac {\sqrt {c d e x^{2} + a d e + {\left (c d^{2} + a e^{2}\right )} x} {\left (2 \, c d e x + c d^{2} + a e^{2}\right )} \sqrt {-c d e}}{2 \, {\left (c^{2} d^{2} e^{2} x^{2} + a c d^{2} e^{2} + {\left (c^{2} d^{3} e + a c d e^{3}\right )} x\right )}}\right )}{c d e}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2),x, algorithm="fricas")

[Out]

[1/2*sqrt(c*d*e)*log(8*c^2*d^2*e^2*x^2 + c^2*d^4 + 6*a*c*d^2*e^2 + a^2*e^4 + 4*sqrt(c*d*e*x^2 + a*d*e + (c*d^2
 + a*e^2)*x)*(2*c*d*e*x + c*d^2 + a*e^2)*sqrt(c*d*e) + 8*(c^2*d^3*e + a*c*d*e^3)*x)/(c*d*e), -sqrt(-c*d*e)*arc
tan(1/2*sqrt(c*d*e*x^2 + a*d*e + (c*d^2 + a*e^2)*x)*(2*c*d*e*x + c*d^2 + a*e^2)*sqrt(-c*d*e)/(c^2*d^2*e^2*x^2
+ a*c*d^2*e^2 + (c^2*d^3*e + a*c*d*e^3)*x))/(c*d*e)]

________________________________________________________________________________________

giac [A]  time = 0.73, size = 86, normalized size = 1.05 \begin {gather*} -\frac {\sqrt {c d} e^{\left (-\frac {1}{2}\right )} \log \left ({\left | -\sqrt {c d} c d^{2} e^{\frac {1}{2}} - 2 \, {\left (\sqrt {c d} x e^{\frac {1}{2}} - \sqrt {c d x^{2} e + c d^{2} x + a x e^{2} + a d e}\right )} c d e - \sqrt {c d} a e^{\frac {5}{2}} \right |}\right )}{c d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2),x, algorithm="giac")

[Out]

-sqrt(c*d)*e^(-1/2)*log(abs(-sqrt(c*d)*c*d^2*e^(1/2) - 2*(sqrt(c*d)*x*e^(1/2) - sqrt(c*d*x^2*e + c*d^2*x + a*x
*e^2 + a*d*e))*c*d*e - sqrt(c*d)*a*e^(5/2)))/(c*d)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 62, normalized size = 0.76 \begin {gather*} \frac {\ln \left (\frac {c d e x +\frac {1}{2} a \,e^{2}+\frac {1}{2} c \,d^{2}}{\sqrt {c d e}}+\sqrt {c d e \,x^{2}+a d e +\left (a \,e^{2}+c \,d^{2}\right ) x}\right )}{\sqrt {c d e}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(c*d*e*x^2+a*d*e+(a*e^2+c*d^2)*x)^(1/2),x)

[Out]

ln((c*d*e*x+1/2*a*e^2+1/2*c*d^2)/(c*d*e)^(1/2)+(c*d*e*x^2+a*d*e+(a*e^2+c*d^2)*x)^(1/2))/(c*d*e)^(1/2)

________________________________________________________________________________________

maxima [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*d*e+(a*e^2+c*d^2)*x+c*d*e*x^2)^(1/2),x, algorithm="maxima")

[Out]

Exception raised: ValueError >> Computation failed since Maxima requested additional constraints; using the 'a
ssume' command before evaluation *may* help (example of legal syntax is 'assume(a*e^2-c*d^2>0)', see `assume?`
 for more details)Is a*e^2-c*d^2 zero or nonzero?

________________________________________________________________________________________

mupad [B]  time = 0.74, size = 49, normalized size = 0.60 \begin {gather*} \frac {\ln \left (2\,\sqrt {\left (a\,e+c\,d\,x\right )\,\left (d+e\,x\right )}\,\sqrt {c\,d\,e}+a\,e^2+c\,d^2+2\,c\,d\,e\,x\right )}{\sqrt {c\,d\,e}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x*(a*e^2 + c*d^2) + a*d*e + c*d*e*x^2)^(1/2),x)

[Out]

log(2*((a*e + c*d*x)*(d + e*x))^(1/2)*(c*d*e)^(1/2) + a*e^2 + c*d^2 + 2*c*d*e*x)/(c*d*e)^(1/2)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\sqrt {a d e + c d e x^{2} + x \left (a e^{2} + c d^{2}\right )}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(a*d*e+(a*e**2+c*d**2)*x+c*d*e*x**2)**(1/2),x)

[Out]

Integral(1/sqrt(a*d*e + c*d*e*x**2 + x*(a*e**2 + c*d**2)), x)

________________________________________________________________________________________